package com.xxbing.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xxbing.mapper.EdocCategoryMapper;
import com.xxbing.model.EdocCategory;
import com.xxbing.model.EdocEntry;
import com.xxbing.service.EdocCategoryService;

@Service("EdocCategoryService")
public class EdocCategoryServiceImpl implements EdocCategoryService{

	@Autowired
	private EdocCategoryMapper edocCategoryMapper;
	
	@Override
	public List<EdocCategory> selectAll() {
		return edocCategoryMapper.selectAll();
	}

	@Override
	public EdocCategory selectEdocCategoryByid(int id) {
		
		return edocCategoryMapper.selectEdocCategoryByid(id);
	}


}
